package com.example.javasample.service;

import com.example.javasample.domain.Origin;

import java.util.List;

/**
 * IOriginService
 *
 * @author Kylin
 */
public interface IOriginService {

    List<Origin> list(Origin origin);

    int add(Origin origin);

    boolean edit(Origin origin);

    Origin detail(Long originId);

    int delete(Long originId);

    int physicallyDelete(Long originId);

    int batchAdd(List<Origin> originList);

}
